import request from '@/utils/request'

export function generateReport(data) {
  return request({
    url: '/smart/monitor/generateReport',
    method: 'post',
    data
  })
}

export function downloadReport(data) {
  return request({
    url: '/smart/monitor/exportReport',
    method: 'post',
    responseType: 'blob',
    data
  })
}